/*
 * Created by IntelliJ IDEA.
 * User: amrk
 * Date: 14/06/2004
 * Time: 22:57:37
 */
package com.talios.jira.idea.actions;

import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.DataConstants;
import com.intellij.openapi.project.Project;
import com.talios.jira.browser.IssueCreation;

public class CreateIssueAction extends JIRAAction {

    public void actionPerformed(AnActionEvent event) {
        final Project project = (Project) event.getDataContext().getData(DataConstants.PROJECT);

        IssueCreation issueCreation = new IssueCreation(project);
        issueCreation.createIssue();
    }

}